package ch.netcetera.planningpoker.client.ui.round;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.HasText;
import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;

public class RoundView extends Composite implements RoundPresenter.IView {

    private static RoundViewUiBinder uiBinder = GWT
            .create(RoundViewUiBinder.class);

    interface RoundViewUiBinder extends UiBinder<Widget, RoundView> {
    }

    @UiField
    Label roundTitle;
    
    @UiField
    FlowPanel cards;
    
    public RoundView() {
        initWidget(uiBinder.createAndBindUi(this));
    }

    @Override
    public void addToSlot(Object slot, Widget content) {
        // TODO Auto-generated method stub
        
    }

    @Override
    public void removeFromSlot(Object slot, Widget content) {
        // TODO Auto-generated method stub
        
    }

    @Override
    public void setInSlot(Object slot, Widget content) {
        // TODO Auto-generated method stub
        
    }
    
    public HasText getRoundTitle() {
        return roundTitle;
    }

    @Override
    public HasWidgets getCards() {
        return cards;
    }

}
